package com.yanmaohu.yulia.bean;

/**
 * @author Bright Lee
 */
public final class WindowFrameExclusion {

    private int beginIndex;
    private int endIndex;
    private boolean excludeCurrentRow;
    private boolean excludeGroup;
    private boolean excludeTies;
    private boolean excludeNoOthers;

    public WindowFrameExclusion(int beginIndex,
                                int endIndex,
                                boolean excludeCurrentRow,
                                boolean excludeGroup,
                                boolean excludeTies,
                                boolean excludeNoOthers) {
        this.beginIndex = beginIndex;
        this.endIndex = endIndex;
        this.excludeCurrentRow = excludeCurrentRow;
        this.excludeGroup = excludeGroup;
        this.excludeTies = excludeTies;
        this.excludeNoOthers = excludeNoOthers;
    }

    public int getBeginIndex() {
        return beginIndex;
    }

    public int getEndIndex() {
        return endIndex;
    }

    public boolean isExcludeCurrentRow() {
        return excludeCurrentRow;
    }

    public boolean isExcludeGroup() {
        return excludeGroup;
    }

    public boolean isExcludeTies() {
        return excludeTies;
    }

    public boolean isExcludeNoOthers() {
        return excludeNoOthers;
    }

}
